$OpenBSD: patch-src_nes_ines_cpp,v 1.1 2017/05/25 23:40:06 espie Exp $

Index: src/nes/ines.cpp
--- src/nes/ines.cpp.orig
+++ src/nes/ines.cpp
@@ -327,7 +327,7 @@ static void SetInput(void)
 	};
  int x=0;
 
- while(moo[x].input1 > 0 || moo[x].input2 > 0 || moo[x].inputfc > 0)
+ while(moo[x].input1 != 0 || moo[x].input2 != 0 || moo[x].inputfc != 0)
  {
   if(moo[x].crc32==iNESGameCRC32)
   {
